package fregat.base.util;

import java.io.File;
import java.io.FileNotFoundException;

public class XMLFilePath  {
	final String filePath;
	
	public XMLFilePath (String fp) {
		filePath = fp;
	}
	
	public File getFile () throws FileNotFoundException {
		File file =  new File (filePath);
		if (file.exists()) {
			return file;
		}
		throw new FileNotFoundException(filePath);
	}
}
